﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    /// <summary>
    /// 菜单类别类 实体类  表示的是系统定义的菜单大类 不可以随意修改
    /// </summary>
    [Table("MenuCategory")]
    public class Model_MenuCategory:Model_Base
    {
        /// <summary>
        /// 菜单类别编号
        /// </summary>
        [Column("ID")]
        [Key]
        [Required]
        public string ID { get; set; }
        /// <summary>
        /// 菜单类别名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public double Order { get; set; }
        /// <summary>
        /// 菜单类别上级编号
        /// </summary>
        public string ParentID { get; set; }
        /// <summary>
        /// 菜单描述
        /// </summary>
        public string Description { get; set; }
    }
}
